import React, {Component} from 'react'

import Base from "./Base"
import SM from "./SM"
import GYJH from "./GYJH"
import D1D10M from "./D1T10"

export default class HK6Body extends Component {
  constructor (props){
   super(props)
   this.state= {
   }
}
   render() {
    const {itemcode} = this.props
    //第一次是空
    switch(itemcode){
      case "SM":
      return <SM  {...this.props}/>

      case "D1D10M":
      return <D1D10M  {...this.props}/>

      case "GYJH":
      return <GYJH  {...this.props}/>
      
      default :
      return <Base {...this.props}></Base>
    }
   }
}